package com.slkj.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "sl_doc_reply_log")
public class DocsReplyLog {
 /*   @Id
    private Integer id;*/
    //一次公文事件：回复编号
    private Integer replyNum;

    //公文唯一识别码
    private String docUuid;
    //收件人
    private String receivePeople;
    //收件人状态
    private String receivePeopleStatus;
    //回复时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime replyTime;
    //回复内容
    private String replyContent;
    //是否收藏。。默认是0，收藏是1
    private Integer collect;
}
